<template>
	<view class="page flex-c-c">
		<view class="inp-box flex-c-c">
			<input placeholder="请输入编码" border="surround" class="inp" />
			<button type="primary">核销</button>
		</view>
	</view>
</template>

<script>
	export default {
		name: "Two",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.flex-c-c {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.page {
		width: 100%;
		height: 100%;
		position: relative;
		box-sizing: border-box;
		overflow: hidden;
		background: #f8f8f8;

	}

	.inp-box {
		flex-direction: column;
		background-color: #fff;
		width: calc(100vw - 40rpx);
		margin: 0 auto;
		height: 280rpx;
		border-radius: 16rpx;
		padding: 20rpx;
		box-sizing: border-box;

		.inp {
			width: 100%;
			height: 76rpx;
			border: 2px solid #f8f8f8;
			border-radius: 8rpx;
			padding: 5px;
			margin-bottom: 20rpx;
			font-size: 12px;
			box-sizing: border-box;
		}

		button {
			background-color: #4970f0;
			width: 100%;
			height: 76rpx;
			font-size: 28rpx;
			line-height: 76rpx;
			border-radius: 40rpx;
		}


	}
</style>